Add ClientAPI Files as Reference in Visual Studio Projects
Once you have a Visual Studio project, you will be able to use the ClientAPI files by adding them as references.
To add ClientAPI files as reference in Visual Studio Projects, complete the following steps:
- Load an existing solution/project or create a new one in Visual Studio.
- In Solution Explorer window, right-click the project that will use the ClientAPI and click Add Reference menu.
- In the Add Reference window, click the Browse tab.
- Navigate to the folder where the ClientAPI files reside and click the Cobra.WebService.ClientAPI.dll file.
- In the Add Reference window, click OK. The Cobra.WebService.ClientAPI file displays in the References node of the project in Solution Explorer window.
- In the Solution Explorer window, right-click the project and select menu.
- In the Add Existing Item window, navigate to the folder where the ClientAPI files resides and select the Cobra.WebService.ClientAPI.dll.config file.
- In the Add Existing Item window, click OK. The Cobra.WebService.ClientAPI.dll.config file displays under the project in Solution Explorer window.
- Right-click the Cobra.WebService.ClientAPI.dll.config file under the project and select Properties.
- In the Properties window, change the value of Copy to Output Directory to Copy if newer.
- Save the project by clicking on the menu bar. You can use the objects of ClientAPI in your project.
Parent Topic: Set up the .NET Project
Learn more about...